<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title_for_layout; ?></title>
<?php echo  $this->Html->css(array('global','header','market','search','nav','buckets','content','footer','left-bar','products','tabs','sections','styles','edit','jquery-ui','jquery.lightbox-0.5','prettyPhoto')); ?>
<?php echo $javascript->link(array('jquery.min','jquery-ui.min','functions','suckerfish','login','editable','tiny_mce','drop_shadow','jquery.lightbox-0.5.min','jquery.cycle','jquery.prettyPhoto')); ?>
	

</head>

<body>
	<div id="container">
    	<!-- header-->          
        
<div id="header">
				<div id="market">
					<ul>
                    	<li><img src="<?php echo System?>/img/logo-1.png" style="position:relative; top:5px;"></li>
                        
                    </ul>							
				</div>
		
				 
				<span class="clear"></span>
				<div id="nav" >
				
		</div>
		<span class="clear"></span>
</div>     
        <!-- end -->
        <!-- content -->        
     	<?php echo $content_for_layout; ?>
        <!--end -->
        <!-- footer -->
        <?php if ($this->params['controller'] == 'home'){ 
          echo $this->element('footer_home'); 
		}
		elseif($this->params['controller'] == 'login'){
		}
		else{
			echo $this->element('footer'); 
		}
		 ?>          
        <!-- end -->
        
    </div>
	
</body>
</html>